/**
 * @author yaoyuan
 * @version 1.0
 * @name zjzcVotingApp.Service: commonService
 * @description commonService
 */


'use strict';

angular.module('zjzcVotingApp')
    .constant('commonServiceConfig', {
        // vote 列表信息
        voteList: '/admin/vote/activity/list'
    })

    .factory('commonService', ['uiService','commonServiceConfig', function (uiService, commonServiceConfig) {
        return uiService.ajaxModule(commonServiceConfig);
    }]);
